﻿@using Stamp_For_Africa_Version_2.Models
@using Stamp_For_Africa_Version_2.ViewModels
@model LinkStampViewModel

@{
    ViewBag.Title = "Link Stamp To Stamp";
}

<h2>You can link this stamp to anther stamp here</h2>
<p>Currently you have selected @Model.ParentStamp.DisplayName as the parent</p>



@using (Html.BeginForm())
{


}
  @Html.Partial("_SearchLinkedFilters", Model )
  @{ if (Model.StampIndexFormViewModel.StampPage != null)
     {
       @Html.Partial("_SearchResultsLinkStamp", Model.StampIndexFormViewModel.StampPage)
     }
   }

   @using (Html.BeginForm())
   {
     
 <div class="editor-label">
    @Html.LabelFor(model => model.LinkType)
  </div>
  <div class="editor-field">
    @Html.DropDownListFor(model => model.LinkType, StampLink.StampLinkList)
  </div>     
     
     @Html.HiddenFor(model => model.ParentStamp.Id)
     @Html.Hidden("SelectedChildId")
     <p>
       <input type="submit" value="Link" />
     </p>
   }